from django.db import models

# Create your models here.
class Blog(models.Model):
	category = models.CharField(max_length=10)
	
	

class Post(models.Model):
	title = models.CharField(max_length=10)
	content = models.TextField()
	date = models.DateTimeField(auto_now_add=True)
	blog = models.ForeignKey(Blog)